package com.lagou.entity;

public class Transaction {
    /*id INT PRIMARY KEY AUTO_INCREMENT,
    cardid VARCHAR(100) , -- 交易卡号
    tratype VARCHAR(100) ,    -- 交易类型： 转入 或者 转出
    tramoney DOUBLE  , -- 交易金额
    tradate DATETIME  -- 交易日期*/

    private int id;
    private String cardid;
    private String tratype;
    private double tramoney;
    private String DATETIME;

    @Override
    public String toString() {
        return "Transaction{" +
                "id=" + id +
                ", cardid='" + cardid + '\'' +
                ", tratype='" + tratype + '\'' +
                ", tramoney=" + tramoney +
                ", DATETIME='" + DATETIME + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCardid() {
        return cardid;
    }

    public void setCardid(String cardid) {
        this.cardid = cardid;
    }

    public String getTratype() {
        return tratype;
    }

    public void setTratype(String tratype) {
        this.tratype = tratype;
    }

    public double getTramoney() {
        return tramoney;
    }

    public void setTramoney(double tramoney) {
        this.tramoney = tramoney;
    }

    public String getDATETIME() {
        return DATETIME;
    }

    public void setDATETIME(String DATETIME) {
        this.DATETIME = DATETIME;
    }
}
